import { Component,Input } from '@angular/core';
import {  NavController, NavParams } from 'ionic-angular';
import { TopicInfo } from "../../models/quesinfo";
/**
 * Generated class for the QuestionImagesPage page.
 *
 * See https://ionicframework.com/docs/components/#navigation for more info on
 * Ionic pages and navigation.
 */


@Component({
  selector: 'page-question-images',
  templateUrl: 'question-images.html',
})
export class QuestionImagesPage {
  @Input() topic:TopicInfo;
  @Input() poneSet: Array<any>;
  @Input()
  topicIndex;
  topicIndexshow;
  constructor(public navCtrl: NavController, public navParams: NavParams) {
  }

  ngOnInit(): void {
    //Called after the constructor, initializing input properties, and the first call to ngOnChanges.
    //Add 'implements OnInit' to the class.
    this.topic["imgs"] = "";
    this.topicIndexshow=this.topicIndex+1;
    // console.log(888888888888888888888)
    // console.log(this.topic.listRow)
  }
  ionViewDidLoad() {
    //console.log('ionViewDidLoad QuestionImagesPage');
  }

}
